package org.goodprinciples.commons.factory;

/**
 *
 * @author iksyos
 */
public abstract class FactoryBase<T> implements IFactory<T> {

    public static <F extends IFactory> F newFactoryInstance(Class<F> factoryClass) {
        try {
            return factoryClass.newInstance();
        } catch (InstantiationException ex) {

        } catch (IllegalAccessException ex) {

        }
        return null;
    }

}
